[lab] Visual polish for RichTextEditor and toolbar - #4818
Open
ernestt wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
2 times, most recently
from
August 8, 2026 01:59
0ab6c35 to
c4ed993
Compare
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR Modified ComponentsRichTextEditor (@astryxdesign/lab) · View in Storybook
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
from
August 8, 2026 03:10
c4ed993 to
8c6c04f
Compare
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
2 times, most recently
from
August 8, 2026 04:14
f29b0f8 to
c040a87
Compare
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
from
August 8, 2026 04:21
c040a87 to
67b97b3
Compare
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
from
August 8, 2026 04:29
67b97b3 to
ecd9766
Compare
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
from
August 8, 2026 04:39
ecd9766 to
a265733
Compare
ernestt
marked this pull request as ready for review
August 8, 2026 04:40
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
from
August 8, 2026 04:57
a265733 to
92fd404
Compare
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
from
August 8, 2026 05:08
92fd404 to
f12bf8c
Compare
ernestt
force-pushed
the
codex/rich-text-editor-visuals
branch
from
August 8, 2026 05:18
f12bf8c to
dfe15ed
Compare
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refreshes the lab RichTextEditor so it looks and behaves like an Astryx form field, adds a compact formatting toolbar, and replaces the browser URL prompt with an Astryx link dialog.
This revision is intentionally scoped to
@astryxdesign/lab: it does not modify Toolbar, ToggleButton, MoreMenu, OverflowList, useListFocus, or any other Core component.The component remains named
RichTextEditor: it is an extensible Lexical authoring surface with formatting, plugins, nodes, history, and serialization—not only a rich-text value input.Field visuals and sizing
minHeight: SizeValuefor the editable surface. Numbers are pixels, strings are CSS lengths, the default remains4.5rem, and content can grow beyond the minimum.toolbarslot before the padded editing surface, keeping controls flush with the top edge and in the correct visual and keyboard order.Status treatment
statusVariant="attached" | "detached" | "tooltip":aria-invalid; descriptions, status messages/tooltips, character count, and keyboard hints remain correctly composed througharia-describedby.Formatting toolbar
Toolbarwith small controls; ToggleButton size is passed explicitly inside Labs, so no Core sizing behavior changes.Narrow-width behavior
overflow-x: autoandscrollWidth > clientWidthat 340 px.Link workflow
window.promptwith an Astryx Dialog containing a URL TextInput and standard Cancel/Add/Update/Remove actions.promptForUrlextension point for consumers with a synchronous custom URL flow.Screenshots
These are GitHub-hosted PR attachments and are not committed to the repository.
Field focus, placeholder alignment, and
minHeightStatus variants
Compact toolbar and block-format selector
Horizontal toolbar scroll
Astryx link dialog
Validation